package com.skeleton.db.dto;

import java.util.ArrayList;
import java.util.List;

import com.skeleton.common.base.dto.BaseDto;
import com.skeleton.db.entity.GuideCatgUser;

public class GuideCatgUserDto extends BaseDto {

	private int catgUserId;
	private String loginname;
	private String catgUserTitle;
	private int catgUserSeq;

	List<GuideItemUserDto> gidList = new ArrayList<GuideItemUserDto>();

	public GuideCatgUser toEntity() {
		GuideCatgUser entity = new GuideCatgUser();
		entity.setCatg_user_id(catgUserId);
		entity.setLoginname(loginname);
		entity.setTitle(catgUserTitle);
		entity.setSeq(catgUserSeq);
		return entity;
	}

	public int getCatgUserId() {
		return catgUserId;
	}

	public void setCatgUserId(int catgUserId) {
		this.catgUserId = catgUserId;
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getCatgUserTitle() {
		return catgUserTitle;
	}

	public void setCatgUserTitle(String catgUserTitle) {
		this.catgUserTitle = catgUserTitle;
	}

	public int getCatgUserSeq() {
		return catgUserSeq;
	}

	public void setCatgUserSeq(int catgUserSeq) {
		this.catgUserSeq = catgUserSeq;
	}

	public List<GuideItemUserDto> getGidList() {
		return gidList;
	}

	public void setGidList(List<GuideItemUserDto> gidList) {
		this.gidList = gidList;
	}

}
